|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.interactions.core.support.Widget
org.eclipse.vtp.framework.interactions.voice.vxml.Action
org.eclipse.vtp.framework.interactions.voice.vxml.Throw
public class Throw
The Throw class represents the <throw> VXML element.
When processed, this action causes the named event to be raised.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
Throw(java.lang.String eventName)
Creates a new instance of Throw with the specified event
name. |
|
| Method Summary | |
|---|---|
java.lang.String |
getEventName()
|
void |
setEventName(java.lang.String eventName)
Sets the name of the event this throw raises. |
protected void |
writeAttributes(org.xml.sax.helpers.AttributesImpl attributes)
Write the attribute members of this action to the supplied set. |
void |
writeWidget(org.xml.sax.ContentHandler outputHandler)
Writes the content of this widget to an XML content handler. |
| Methods inherited from class org.eclipse.vtp.framework.interactions.core.support.Widget |
|---|
toString, writeAttribute, writeChildren, writeChildren, writeWidget, writeWidget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Throw(java.lang.String eventName)
Throw with the specified event
name.
eventName - The name of the event to raise.
java.lang.IllegalArgumentException - If the supplied event name is empty.
java.lang.NullPointerException - If the supplied event name is
null.| Method Detail |
|---|
public java.lang.String getEventName()
public void setEventName(java.lang.String eventName)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
eventName - The name of the event this throw raises.
java.lang.IllegalArgumentException - If the supplied event name is empty.
java.lang.NullPointerException - If the supplied event name is
null.
public void writeWidget(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
Widget
writeWidget in class WidgetoutputHandler - The handler to write this widget to.
java.lang.NullPointerException - If the supplied content handler is
null.
org.xml.sax.SAXException - If the writing of this widget fails.protected void writeAttributes(org.xml.sax.helpers.AttributesImpl attributes)
attributes - The attribute set to write to.
java.lang.NullPointerException - If the supplied attribute set is
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||